package my.lotu.bean;

/**
 * Daymeal entity. @author MyEclipse Persistence Tools
 */

public class Daymeal implements java.io.Serializable {

	// Fields

	private Integer id;
	private Double cost;
	private Double calorie;
	private Integer breakfast;
	private Integer lunch;
	private Integer dinner;

	// Constructors

	/** default constructor */
	public Daymeal() {
	}

	/** full constructor */
	public Daymeal(Double cost, Double calorie, Integer breakfast, Integer lunch, Integer dinner) {
		this.cost = cost;
		this.calorie = calorie;
		this.breakfast = breakfast;
		this.lunch = lunch;
		this.dinner = dinner;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getCost() {
		return this.cost;
	}

	public void setCost(Double cost) {
		this.cost = cost;
	}

	public Double getCalorie() {
		return this.calorie;
	}

	public void setCalorie(Double calorie) {
		this.calorie = calorie;
	}

	public Integer getBreakfast() {
		return this.breakfast;
	}

	public void setBreakfast(Integer breakfast) {
		this.breakfast = breakfast;
	}

	public Integer getLunch() {
		return this.lunch;
	}

	public void setLunch(Integer lunch) {
		this.lunch = lunch;
	}

	public Integer getDinner() {
		return this.dinner;
	}

	public void setDinner(Integer dinner) {
		this.dinner = dinner;
	}
	@Override
	public String toString(){
		return "Daymeal{"+id+" "+dinner+" "+lunch+" "+breakfast+" "+calorie+" "+cost+"}";
	}

}